package com.sensor.data.dao;

import org.apache.ibatis.annotations.Mapper;

/**
 * FileName: SensorToDB
 * Create by fengzheng on 2019/4/11 12:04
 * Description: 传感器数据管理
 */

@Mapper
public interface SensorToDB {

    /**
     * 传感器数据写入数据库
     */
    int insertData(int id,float value,String area,long time)throws Exception;
}
